package com.itfreer.data.syn.base;

/**
 * 定义jwt参数，去掉属性文件配置
 */
public class DataSynPara {
	/**
	 * 超时时间，单位毫秒，默认20分钟
	 */
	private long timeToKillInMilliSeconds = 20 * 60000L;

	/**
	 * 刷新间隔时间 默认120秒
	 */
	private int refreshInterval = 120;

	/**
	 * 延迟时间 默认20秒
	 */
	private int startDelay = 20;

	/**
	 * 重复次数
	 */
	private int tryTimes = 3;

	public long getTimeToKillInMilliSeconds() {
		return timeToKillInMilliSeconds;
	}

	public void setTimeToKillInMilliSeconds(long timeToKillInMilliSeconds) {
		this.timeToKillInMilliSeconds = timeToKillInMilliSeconds;
	}

	public int getRefreshInterval() {
		return refreshInterval;
	}

	public void setRefreshInterval(int refreshInterval) {
		this.refreshInterval = refreshInterval;
	}

	public int getStartDelay() {
		return startDelay;
	}

	public void setStartDelay(int startDelay) {
		this.startDelay = startDelay;
	}

	public int getTryTimes() {
		return tryTimes;
	}

	public void setTryTimes(int tryTimes) {
		this.tryTimes = tryTimes;
	}
}
